package com.zpark.web.listener;

import javax.servlet.ServletContextListener;
import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionListener;

@WebListener
public class MyListener01 implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.err.println("销毁请求对象");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.err.println("请求对象创建成功");
    }
}
